package com.ymtms.arrivalofgoods.dao;

import com.ymtms.arrivalofgoods.pojo.DeliveryGoods;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DeliveryGoodsMapper {
    int deleteByPrimaryKey(Integer did);

    int insert(DeliveryGoods record);

    int insertSelective(DeliveryGoods record);

    DeliveryGoods selectByPrimaryKey(Integer did);

    int updateByPrimaryKeySelective(DeliveryGoods record);

    int updateByPrimaryKey(DeliveryGoods record);
@Select("select*from delivery_goods where gid=#{gid}")
    List<DeliveryGoods> findAllDeliveryByGid(Integer gid);
}